package com.yicong.ants.view.component;

import android.view.LayoutInflater;
import android.view.View;

import com.binioter.guideview.Component;
import com.blankj.utilcode.util.ConvertUtils;
import com.yicong.ants.R;

public class TaskCenterGuideComponent2 implements Component {

    @Override
    public View getView(LayoutInflater inflater) {
        return inflater.inflate(R.layout.task_center_guide, null);
    }

    @Override
    public int getAnchor() {
        return Component.ANCHOR_LEFT;
    }

    @Override
    public int getFitPosition() {
        return Component.FIT_END;
    }

    @Override
    public int getXOffset() {
        return ConvertUtils.dp2px(3);
    }

    @Override
    public int getYOffset() {
        return 0;
    }
}
